﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcApplication.Models
{
    public class DataContainer
    {
        public DataContainer()
        {
            TextCollection = new List<string>();
            TextToShow = new SelectList(TextCollection, String.Empty);
        }

        [Required]
        public string TextData { get; set; }

        public List<string> TextCollection { get; set; }

        public SelectList TextToShow { get; set; }
    }
}